package com.tr.gateway.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "SsoService")
public interface RemoteSsoService {

    /**
     * 远程调用 判断token是否正确
     * @param token
     * @return
     */
    @GetMapping("/usersso/reLogin")
    public Boolean checkUser(@RequestParam("token") String token);
}
